home *** CD-ROM | disk | FTP | other *** search
- Path: WCUVAX1.WCU.EDU!ee7354
- From: "Edward R. Ewen, Jr." <ee7354@WCUVAX1.WCU.EDU>
- Newsgroups: comp.lang.c++
- Subject: World to Viewport Mapping - TC4.5- BGI
- Date: Thu, 8 Feb 1996 00:43:17 EST
- Organization: Western Carolina University
- Message-ID: <Pine.PMDF.3.91.960208003608.2537028B-100000@WCUVAX1.WCU.EDU>
- NNTP-Posting-Host: 152.30.1.1
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
- I've started working with primitive graphics under Borland Turbo C++ 4.5
- using the BGI library. I've worked through the design of line primitives
- and window to viewport mapping on a pixel to pixel basis. My problem
- comes when trying to use the viewports as included in BGI.
-
- I am able to define the viewports I wish to use, but have _NO_ idea how
- to draw my picture such that is scaled to the current viewport. As I say,
- I have an algorithm that does the mapping, but I can't use it with
- anything but my own line DDA.
-
- Could someone offer me a possible solution? Email responses are preferred.
-
-
-
-
-